﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace ProjectWizardManagement.Entity.Model
{
    public class User
    {
        public User()
        {
            AssociatedProjects = new HashSet<AssociatedProject>();
        }

        [Key]
        public int Id { get; set; }

        public string Username { get; set; }

        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Last Name")]
        public string LastName { get; set; }

        public string Password { get; set; }

        [Display(Name = "E-Mail")]
        public string EMail { get; set; }

        public virtual ICollection<AssociatedProject> AssociatedProjects { get; set; } 
    }
}
